﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Windows
{
    internal class RectHelper
    {
        Rect _value;
        public Rect Value
        {
            get { return _value; }
            set { _value = value; }
        }

        public RectHelper(Rect Input)
        {
            _value = Input;
        }

        public RectHelper()
        {
        }

        public Point TopLeft
        {
            get { return (new Point(_value.X, _value.Y)); }
        }

        public Point TopRight
        {
            get { return (new Point(_value.X + _value.Width, _value.Y)); }
        }

        public Point BottomLeft
        {
            get { return (new Point(_value.X, _value.Y + _value.Height)); }
        }


        public Point BottomRight
        {
            get { return (new Point(_value.X + _value.Width, _value.Y + _value.Height)); }
        }


    }
}
